var nbUrbanEx = echarts.init(document.getElementById('nb_urban_ex'));
nb_urban_ex_option = {
    backgroundColor: '#fff',
    grid:{
        y:0
    },
    legend: {
        bottom: 20,
        textStyle:{
            color:'#277ace',
        },
        data: ['该类别支出']
    },
    grid: {
        right: '4%',
        bottom: '10%',
        top:'1%',
        containLabel: true
    },

    tooltip: {
        show:"true",
        trigger: 'axis',
        axisPointer: { // 坐标轴指示器，坐标轴触发有效
            type: 'shadow' // 默认为直线，可选为：'line' | 'shadow'
        }
    },
    xAxis:  {
        type: 'value',
        axisTick : {show: false},
        axisLine: {
            show: false,
            lineStyle:{
                color:'#277ace',
            }
        },
        splitLine: {
            show: false
        },
    },
    yAxis: [
        {
            type: 'category',
            axisTick : {show: false},
            axisLine: {
                show: true,
                lineStyle:{
                    color:'#277ace',
                }
            },
            data: urbanExpenditureType
        },
        {
            type: 'category',
            axisLine: {show:false},
            axisTick: {show:false},
            axisLabel: {show:false},
            splitArea: {show:false},
            splitLine: {show:false},
            data: urbanExpenditureType
        },

    ],
    series: [
        {
            name: '该类别支出',
            type: 'bar',
            yAxisIndex:1,

            itemStyle:{
                normal: {
                    show: true,
                    color: '#277ace',
                    barBorderRadius:50,
                    borderWidth:0,
                    borderColor:'#333',
                }
            },
            barGap:'0%',
            barCategoryGap:'50%',
            data: urbanExpenditureValue
        }

    ]
};
nbUrbanEx.setOption(nb_urban_ex_option);